/* jowles-conf.c
**
** Copyright (c) 2007, Homebrew Mobile Phone Club
** All rights reserved.
** 
** Redistribution  and  use  in  source  and  binary  forms,  with  or  without
** modification, are permitted provided that the following conditions are met:
** 
**  * Redistributions of  source code must  retain the above  copyright notice,
**    this list of conditions and the following disclaimer.
** 
**  * Redistributions in binary form must reproduce the above copyright notice,
**    this list of conditions and the following disclaimer in the documentation
**    and/or other materials provided with the distribution.
** 
**  * Neither the name  of the Homebrew Mobile Phone Club nor  the names of its
**    contributors may be used to endorse or promote products derived from this
**    software without specific prior written permission.
** 
** THIS SOFTWARE IS PROVIDED BY  THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
** AND ANY  EXPRESS OR IMPLIED WARRANTIES,  INCLUDING, BUT NOT  LIMITED TO, THE
** IMPLIED WARRANTIES  OF MERCHANTABILITY AND FITNESS FOR  A PARTICULAR PURPOSE
** ARE DISCLAIMED.  IN NO  EVENT SHALL THE  COPYRIGHT OWNER OR  CONTRIBUTORS BE
** LIABLE  FOR  ANY  DIRECT,   INDIRECT,  INCIDENTAL,  SPECIAL,  EXEMPLARY,  OR
** CONSEQUENTIAL  DAMAGES  (INCLUDING,  BUT  NOT  LIMITED  TO,  PROCUREMENT  OF
** SUBSTITUTE GOODS  OR SERVICES;  LOSS OF USE,  DATA, OR PROFITS;  OR BUSINESS
** INTERRUPTION)  HOWEVER CAUSED  AND ON  ANY THEORY  OF LIABILITY,  WHETHER IN
** CONTRACT,  STRICT LIABILITY,  OR  TORT (INCLUDING  NEGLIGENCE OR  OTHERWISE)
** ARISING IN ANY WAY  OUT OF THE USE OF THIS SOFTWARE,  EVEN IF ADVISED OF THE
** POSSIBILITY OF SUCH DAMAGE.
** 
** $Id: jowles-conf.c 4 2007-11-04 18:52:39Z msh.mobile $
*/

/* Macro Definitions */

/* File Includes */
#include "jowles/jowles-conf.h"

/* Typedefs, Structs, Unions, Enums, etc. */

/* Static Function Prototypes */
static void jowles_conf_class_init( gpointer g_class, gpointer g_class_data );
const gchar *jowles_app_parameter_name = " - rPhone configuration service";
const gchar *jowles_app_default_name = "rConf";
const gchar *jowles_app_default_interface = "org.hbmobile.jowles.rConf";

void jowles_conf_run( JowlesApp *self );

/* Variable Declarations */
GType (*jowles_app_object_type)( void ) = jowles_conf_get_type;

/* Function Definitions */

GType jowles_conf_get_type( void ) {
  static GType type = 0;
  static const GTypeInfo info = {
    sizeof (JowlesConfClass),
    NULL,   /* base_init */
    NULL,   /* base_finalize */
    jowles_conf_class_init,   /* class_init */
    NULL,   /* class_finalize */
    NULL,   /* class_data */
    sizeof (JowlesConf),
    0,      /* n_preallocs */
    NULL    /* instance_init */
  };
  
  if( 0 == type ) {
    type = g_type_register_static( JOWLES_TYPE_APP, "JowlesConfType", &info, 0 );
  }
  
  return( type );
}

static void jowles_conf_class_init( gpointer g_class, gpointer g_class_data ) {
  JowlesAppClass *klass = JOWLES_APP_CLASS (g_class);

  klass->run = jowles_conf_run;

  g_print("jowles_conf_class_init()\n");
}

void jowles_conf_run( JowlesApp *self ) {
  g_print( "jowles_conf_run()\n");
}
